﻿@model CloudFranceTriple.WebRole.Models.PasswordRecoveryConfirmModel

@{
    ViewBag.Title = CloudFranceTriple.WebRole.Properties.Resources.PasswordRecoveryConfirmationTitle;
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="content-padding">
    <h1>@CloudFranceTriple.WebRole.Properties.Resources.PasswordRecoveryConfirmationTitle</h1>
    <section>
        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()
            @Html.ValidationSummary(true)

            <fieldset>
                <legend>ResetPasswordConfirmModel</legend>

                @*       <div class="editor-label">
            @Html.LabelFor(model => model.Token)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Token)
            @Html.ValidationMessageFor(model => model.Token)
        </div>*@

                @Html.Hidden("Token", Model.Token)

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.AccountNewPassword
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.NewPassword)
                    @Html.ValidationMessageFor(model => model.NewPassword)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.AccountConfirmPassword
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.ConfirmPassword)
                    @Html.ValidationMessageFor(model => model.ConfirmPassword)
                </div>

                <p>
                    <input type="submit" value="@CloudFranceTriple.WebRole.Properties.Resources.ButtonPasswordRecovery" />
                </p>
            </fieldset>
        }
    </section>
</div>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}